'use strict'

import io from 'socket.io'

//获取所有标签
var  username = document.querySelector('input#username')
var room = document.querySelector('input#room')
var btnConnect = document.querySelector('input#connect')
var content = document.querySelector('textarea#content')
var input = document.querySelector('input#input')
var btnSend = document.querySelector('input#send')


btnConnect.onclick=()=>{
    //connect
    var socket = io.connect()
    //receive msg

    //send msg
}